var path = require('path');
module.exports = {
    entry:  './src/js/main', // Your appʼs entry point
    output: {
        path: __dirname,
        filename: "./build/js/main.js"
    },
    module: {
        loaders: [
            { test: /\.jsx?$/,exclude: /(node_modules|bower_components)/, loader: 'babel',query: {
                presets: ['react', 'es2015']
            } },
            { test: /\.less$/, loader: "style!less" },
            { test: /\.css$/, loader: "style!css" }
        ]
    }
};
